<div class="layuimini-container">

        <div class="layui-form-item">
            <label class="layui-form-label required">商品LOGO</label>
            <div class="layui-input-block layuimini-upload">
                <input name="logo" class="layui-input layui-col-xs6"  placeholder="请上传图片" value="{$row.logo}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="logo" data-upload-number="one" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_logo" data-upload-select="logo" data-upload-number="one" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <div class="layui-input-block">
                <tip>建议等比例尺寸 400*400</tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">商品图片</label>
            <div class="layui-input-block layuimini-upload">
                <input name="images" class="layui-input layui-col-xs6"  placeholder="请上传图片" value="{$row.images}">
                <div class="layuimini-upload-btn">
                    <span><a class="layui-btn" data-upload="images" data-upload-number="more" data-upload-exts="png|jpg|ico|jpeg" data-upload-icon="image"><i class="fa fa-upload"></i> 上传</a></span>
                    <span><a class="layui-btn layui-btn-normal" id="select_images" data-upload-select="images" data-upload-number="more" data-upload-mimetype="image/*"><i class="fa fa-list"></i> 选择</a></span>
                </div>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label"></label>
            <div class="layui-input-block">
                <tip>建议等比例尺寸 750*400</tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">可购买时间设置</label>
            <div class="layui-input-block">
                <input type="text" name="buy_times" class="layui-input" data-date="" data-date-type="date" data-date-range="-"   placeholder="请选择可购买时间设置" value="{$row.buy_times}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">可核销时间设置</label>
            <div class="layui-input-block">
                <input type="text" name="hx_times" class="layui-input"  placeholder="请输入可核销时间设置" value="{$row.hx_times}">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">是否限购</label>
            <div class="layui-input-block">
                <input type="radio" lay-filter="islimit" name="islimit"  value="1" title="是" {if condition="$row.islimit eq 1"}checked{/if}>
                <input type="radio" lay-filter="islimit" name="islimit"  value="0" title="否" {if condition="$row.islimit eq 0"}checked{/if}>
            </div>
        </div>
        <div class="layui-form-item" id="limitnum" {if condition="$row['islimit'] eq 0"} style="display: none;"{/if}>
            <label class="layui-form-label">单人限购</label>
            <div class="layui-input-block">
                <input type="text" name="limitnum" class="layui-input" placeholder="请输入限购数量" value="{$row.limitnum}">
                <tip>注: 单人限购表示该商品对单人总限购数 ，限购数量至少填1</tip>
            </div>
        </div>
        <div class="layui-form-item" id="perlimitnum" {if condition="$row['islimit'] eq 0"} style="display: none;"{/if}>
            <label class="layui-form-label">单人单日限购</label>
            <div class="layui-input-block">
                <input type="text" name="perlimitnum" class="layui-input" placeholder="请输入限购数量" value="{$row.perlimitnum}">
                <tip>注: 单人单日限购表示该商品对每人每天的限购数，0表示不限购</tip>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">分类排序</label>
            <div class="layui-input-block">
                <input type="number" name="sort" class="layui-input" placeholder="请输入分类排序" value="{$row.sort}">
                <tip>数字越大越靠前</tip>
            </div>
        </div>
        <div class="hr-line"></div>
</div>
